package com.example.springsecurity.service;

import com.example.springsecurity.domain.LogInfo;

import java.util.List;

/**
 * @author lvyongwei
 */
public interface LogInfoService {

    /**
     * 添加日志到数据库
     * @param log
     * @return
     */
    public boolean insertLog(LogInfo log);

    /**
     *
     * @return
     */
    public List<LogInfo> getAll();
}
